using System;
using System.Collections;
using System.Collections.Generic;

using DATA.Base;

namespace DATA.BusinessObjects
{
    public partial class Chitietdoanhthutheoloaiphong : BusinessBase<string>
    {
        #region Declarations

		private float? _doanhThu = null;
		private int? _tiLe = null;
		
		private Doanhthutheoloaiphong _doanhthutheoloaiphong = null;
		private Loaiphong _loaiphong = null;
		
		
		#endregion

        #region Constructors

        public Chitietdoanhthutheoloaiphong() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_doanhThu);
			sb.Append(_tiLe);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual float? DoanhThu
        {
            get { return _doanhThu; }
			set
			{
				OnDoanhThuChanging();
				_doanhThu = value;
				OnDoanhThuChanged();
			}
        }
		partial void OnDoanhThuChanging();
		partial void OnDoanhThuChanged();
		
		public virtual int? TiLe
        {
            get { return _tiLe; }
			set
			{
				OnTiLeChanging();
				_tiLe = value;
				OnTiLeChanged();
			}
        }
		partial void OnTiLeChanging();
		partial void OnTiLeChanged();
		
		public virtual Doanhthutheoloaiphong Doanhthutheoloaiphong
        {
            get { return _doanhthutheoloaiphong; }
			set
			{
				OnDoanhthutheoloaiphongChanging();
				_doanhthutheoloaiphong = value;
				OnDoanhthutheoloaiphongChanged();
			}
        }
		partial void OnDoanhthutheoloaiphongChanging();
		partial void OnDoanhthutheoloaiphongChanged();
		
		public virtual Loaiphong Loaiphong
        {
            get { return _loaiphong; }
			set
			{
				OnLoaiphongChanging();
				_loaiphong = value;
				OnLoaiphongChanged();
			}
        }
		partial void OnLoaiphongChanging();
		partial void OnLoaiphongChanged();
		
        #endregion
    }
}
